﻿namespace DeltaGroup.WheelOfJeopardy.GameManager
{
    using System;

    public abstract class Round
    {
        #region Events

        /// <summary>
        /// Occurs when [finished].
        /// </summary>
        public event EventHandler Finished;

        #endregion Events

        #region Methods

        /// <summary>
        /// Starts this Round.
        /// </summary>
        public abstract void Start();

        /// <summary>
        /// Raises the round finished.
        /// </summary>
        protected void RaiseRoundFinished()
        {
            if (Finished != null)
                Finished(this, EventArgs.Empty);
        }

        #endregion Methods
    }
}